<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>玉灵 QQ:7031633 Email:webrx@126.com</title>
</head>

<body>

<!-- 默认值处理 -->
[[${param.id?:28}]]

[[${user?:18}]]--[(${user eq null ? 'yes' : 'no'})]
<hr>
<p th:text="${name}">name</p>
<p>[[${name}]]</p>

<p th:utext="${name}">name</p>
<p>[(${name})]</p>

<script th:inline="none">
    var i = [[${color}]];
    let age = /*[[${age}]]*/ 99;
</script>


<style th:inline="css">
    body{
        color:/*[[${color}]]*/ red;
    }
</style>
</body>
</html>